<?php
namespace Admin\Model;
use Think\Model\ViewModel;
class ArticleViewModel extends ViewModel{
  public $viewFields=array(
    'Article'=>array('id','title','pic','_type'=>'LEFT'),
    'Cate'=>array('catename','_on'=>'article.cateid=cate.id'),
  );
}

 ?>
